<script lang="ts" setup>
  import Space from '@sscd/space';
  import Tooltip from '@sscd/tooltip';
</script>

<template>
  <div class="demo">
    <div class="demo-title">基本用法</div>
    <div class="demo-content">
      <Space>
        <Tooltip>
          <template #title>prompt text</template>
          Tooltip will show when mouse enter.
        </Tooltip>
      </Space>
    </div>
  </div>
</template>
